package com.shaozj.system.converter;

import com.shaozj.system.model.entity.SysDict;
import com.shaozj.system.model.form.DictForm;
import com.shaozj.system.model.vo.DictVO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface DictConverter {

    DictForm entity2Form(SysDict sysDict);

    SysDict form2Entity(DictForm dictForm);

    List<DictVO> entitys2VOs(List<SysDict> page);

}
